package com.fighYo.edu.service;

import com.fighYo.edu.entity.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fighYo.edu.entity.vo.ChapterVo;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author fighYo
 * @since 2021-08-24
 */
public interface EduChapterService extends IService<EduChapter> {

    List<ChapterVo> getChapterByCourseId(String courseId);

    boolean removeChapterById(String id);

    boolean removeChapterByCourseId(String courseId);
}
